﻿using System;
using System.Collections.Generic;
using DotNETStack.Core.Model;

namespace DotNETStack.Core.Data
{
    public interface IQuestionRepository
    {
        IQuestion GetById(Int32 id);
        List<IQuestion> GetAll(Int32 PageIndex, Int32 PageSize);
    }
}